﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Answer.aspx.cs" Inherits="Manage_Emp_Answer" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
   <title>员工回答问题的明细</title>
  <link rel="stylesheet" type="text/css" href="../skin/css/base.css" />
 
<style type="text/css">
    .cinputedit
    {
    	 border:solid 1px green;
    }
    .cinput
    {
    	border:none;
    }
</style>
</head>
<body leftmargin="8" topmargin="8" background='../skin/images/allbg.gif'>
    <form id="form1" runat="server">
      <asp:ScriptManager ID="ScriptManager1" runat="server"  EnableScriptGlobalization="True" EnableScriptLocalization="True">
        </asp:ScriptManager>
   <!--  快速转换位置按钮  -->
     <asp:UpdatePanel ID="up1" runat="server" >
    <ContentTemplate>
    
    <!--  内容列表   -->
     <table width="98%" border="0" cellpadding="0" cellspacing="1" bgcolor="#D1DDAA" align="center" >
        <tr>
            <td height="26" background="../skin/images/newlinebg3.gif">
                <table width="98%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td align="center"><span style="font-size:14px; font-weight:bold">员工回答问题的明细</span></td>
                        <td  align="right"  style="width:60px">
                        <asp:Button ID="btnreturn" class="coolbg_add" runat="server" Text="返回列表" 
                                onclick="btnreturn_Click"/>
                               
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    <div id="form2">
  
    <table width="98%" border="0" cellpadding="2" cellspacing="1" bgcolor="#D1DDAA" align="center" style="margin-top:8px">
   
    <tr bgcolor="#E7E7E7">
	    <td height="24" colspan="8" background="../skin/images/tbg.gif">&nbsp;员工回答问题的明细
      </td>               
    </tr>
     
   <tr style="background-color:#ffffff">
    <td colspan="8">
          <asp:GridView ID="GridView1" runat="server" Width="100%" CellPadding="4" BorderColor="#D1DDAA"  
                            AutoGenerateColumns="False"  
                            DataKeyNames="PlanFinishId"   SelectedIndex="0" 
              OnRowDataBound="GridView1_RowDataBound" GridLines="Both" 
              AllowPaging="False" PageIndex="1" onrowcommand="GridView1_RowCommand" 
             
           
              >
                            <Columns>
                               <asp:TemplateField HeaderText="学习日期" >
                                    <ItemTemplate>
                                        <asp:Label ID="lblStudyDate" runat="server" Text='<%# Eval("StudyDate") %>'></asp:Label>
                                      
                                    </ItemTemplate>
                                </asp:TemplateField>
                                 <asp:TemplateField HeaderText="完成日期" >
                                    <ItemTemplate>
                                        <asp:Label ID="lblFinishDate" runat="server" Text='<%# Eval("FinishDate") %>'></asp:Label>
                                      
                                    </ItemTemplate>
                                </asp:TemplateField>
                                  <asp:TemplateField HeaderText="序号" >
                                    <ItemTemplate>
                                        <asp:Label ID="lblSN" runat="server" Text='<%# Eval("SN") %>'></asp:Label>
                                      
                                    </ItemTemplate>
                                     <ItemStyle Width="50px" />
                                </asp:TemplateField>
                                  <asp:TemplateField HeaderText="问题" >
                                    <ItemTemplate>
                                        <asp:Label ID="lblQuestion" runat="server" Text='<%# Eval("Question") %>'></asp:Label>
                                      
                                    </ItemTemplate>
                                </asp:TemplateField>
                                 <asp:TemplateField HeaderText="正确答案" >
                                    <ItemTemplate>
                                        <asp:Label ID="lblRightAnswers" runat="server" Text='<%# Eval("RightAnswers") %>'></asp:Label>
                                        
                                    </ItemTemplate>
                                    <ItemStyle Width="70px" />
                                </asp:TemplateField>
                                 <asp:TemplateField HeaderText="回答" >
                                    <ItemTemplate>
                                        <asp:Label ID="lblEmpAnswer" runat="server" Text='<%# Eval("EmpAnswer") %>'></asp:Label>
                                       
                                    </ItemTemplate>
                                      <ItemStyle Width="50px" />
                                </asp:TemplateField>
                               
                                 <asp:TemplateField HeaderText="试题分数" >
                                    <ItemTemplate>
                                        <asp:Label ID="lblScore" runat="server" Text='<%# Eval("Score") %>'></asp:Label>
                                      
                                    </ItemTemplate>
                                      <ItemStyle Width="70px" />
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="得分" >
                                    <ItemTemplate>
                                        <asp:Label ID="lblActualscore" runat="server" Text='<%# Eval("Actualscore") %>'></asp:Label>
                                    </ItemTemplate>
                                      <ItemStyle Width="70px" />
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="操作" >
                                    <ItemTemplate>
                                        <asp:LinkButton ID="lbtndel" runat="server" Text="删除" CommandName="del" CommandArgument='<%#Eval("StudyAnswerId")%>' OnClientClick="return confirm('您确定要删除该记录吗？')"></asp:LinkButton>
                                    </ItemTemplate>
                                      <ItemStyle Width="40px"  HorizontalAlign="Center" />
                                </asp:TemplateField>
                                                             
                            </Columns>
                            <PagerSettings FirstPageText="" LastPageText="" NextPageText="" PreviousPageText="" />
                            <RowStyle Height="20px" BackColor="#FFFFFF"  ForeColor="#000000" />
                            <FooterStyle BackColor="#FFFFFF" Font-Bold="True" ForeColor="White" />
                            <EditRowStyle BackColor="#FCFDEE" />
                            <SelectedRowStyle BackColor="#FFFFFF"  ForeColor="#000000" />
                            <PagerStyle BackColor="#FCFDEE" ForeColor="White" HorizontalAlign="Center" />
                            <HeaderStyle BackColor="#FCFDEE"  ForeColor="000000" />
                            <AlternatingRowStyle BackColor="#FCFDEE" ForeColor="#000000" />
                            
                        </asp:GridView>
   </td>
   </tr>
   
  
    </table>
     
  </div>
  </ContentTemplate>
    
    </asp:UpdatePanel>
    </form>
</body>
</html>

